/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.ui.controls;

import ac.ui.utils;
import ac.uitls.propertiesOperation;
import java.awt.Graphics;
import javax.swing.JLabel;

/**
 *
 * @author empcl_000
 */
public class PCLLabel extends JLabel {

    utils u = new utils();
    propertiesOperation op = new propertiesOperation();

    public PCLLabel() {

        setText(op.getWord("label." + getText()));

    }

    protected void paintComponent(Graphics g) {
        super.paintComponent(g);

//To change body of generated methods, choose Tools | Templates.
        //  g.drawRoundRect(TOP, TOP, getPreferredSize().width, getPreferredSize().height, getPreferredSize().width/10, getPreferredSize().height/10);
    }

    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    private boolean fontBold;

    public boolean isFontBold() {
        return fontBold;
    }

    public void setFontBold(boolean fontBold) {
        this.fontBold = fontBold;
    }

}
